home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / killexpr.man < prev    next >
Encoding:
Text File  |  1990-03-11  |  2.1 KB  |  69 lines

  1.  
  2.  
  3.  
  4. KILLEXPR                  User Commands                  KILLEXPR
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      killexpr  -  Kill  all  processes  who   match   the   given
  12.      expression(s)
  13.  
  14. SSYYNNOOPPSSIISS
  15.      kkiilllleexxpprr [_o_p_t_i_o_n_s] _e_x_p_r _e_x_p_r...
  16.  
  17. OOPPTTIIOONNSS
  18.      --hh _h_o_s_t        Kills processes  on  the  machine  _h_o_s_t.  The
  19.                     default  is  to  kill  processes on the local
  20.                     host.
  21.  
  22.      --hheellpp          Print a summary of the command-line options.
  23.  
  24. _________________________________________________________________
  25.  
  26.  
  27. DDEESSCCRRIIPPTTIIOONN
  28.      The kkiilllleexxpprr command is used to  a  user's  processes  whose
  29.      command  line  contains one of a set of regular expressions.
  30.      The regular expression arguments are 'or'ed together to form
  31.      a  single  expression  that compared to the command lines of
  32.      the user's processes.  If a match is found  the  process  is
  33.      sent  a  SIGTERM  signal, followed by a SIGKILL signal.  The
  34.      expression arguments are often simple strings,  but  can  be
  35.      more  complex regular expressions of the form found in Perl.
  36.      A process will be killed even if the expression matches only
  37.      part  of  a  word.  If  you  want the expression to match an
  38.      entire word in the command line then you should surround the
  39.      argument with spaces.
  40.  
  41. EEXXAAMMPPLLEESS
  42.      killexpr foo
  43.           Kills all processes that  have  the  pattern  'foo'  in
  44.           their command line.
  45.  
  46.      killexpr ' foo '
  47.           Kills all processes that have the word 'foo'  in  their
  48.           command line.
  49.  
  50.      killexpr foo bar
  51.           Kills all processes that have either the pattern  'foo'
  52.           or the pattern 'bar' in their command line.
  53.  
  54.      killexpr '^foo'
  55.           Kills all processes whose command line starts with  the
  56.           pattern 'foo'.
  57.  
  58. KKEEYYWWOORRDDSS
  59.      kill
  60.  
  61.  
  62.  
  63.  
  64.  
  65. Sprite v.1.0        Printed:  March 11, 1990                    1
  66.  
  67.  
  68.  
  69.